
//var notification_manager = require('./local_modules/notification_manager');

/*
 * GET users listing.
 */

exports.list = function(req, res) {
    res.send("respond with a resource");
};

exports.view = function(req, res) {
    
    var users = req.body.users;

    console.log(users);
    
    res.header("Access-Control-Allow-Origin", "*");
    res.header("Access-Control-Allow-Headers", "X-Requested-With");
    res.render('onlineUsers', {
        onlineUserList: users
    });
};